restore tab when display vector formats. (#1116)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Mon, 15 May 2023 19:03:47 +0000 (13:03 -0600)
committerGitHub <noreply@github.com>
Mon, 15 May 2023 19:03:47 +0000 (13:03 -0600)
this was lost in #1068
update reference files to be exactly what the test produces, including
exact whitespace, trailing tabs and no newline at end of file.

reference/filterusage.txt
reference/usage.txt
vecs.cc

index 5a74bc95bcda491f1e2b31d20f280f593be040ba..37dbf7f0ab0bce58c0e33ec5523893ce31d3bf0c 100644 (file)
@@ -1,10 +1,10 @@
 
-       radius                Include Only Points Within Radius
+       radius                Include Only Points Within Radius                 
          lat                   Latitude for center point (D.DDDDD) (required)
          lon                   Longitude for center point (D.DDDDD) (required)
          distance              Maximum distance from center (required)
-         exclude               Exclude points close to center
-         nosort                Inhibit sort by distance to center
-         maxcount              Output no more than this number of points
-         asroute               Put resulting waypoints in route of this name
+         exclude               Exclude points close to center 
+         nosort                Inhibit sort by distance to center 
+         maxcount              Output no more than this number of points 
+         asroute               Put resulting waypoints in route of this name 
 
index fd8de8bc92d3721eb9e3686dec88c4ed3851cab7..c009447fb38caa943108a1d6a651d3ca6af16576 100644 (file)
@@ -33,4 +33,4 @@ Options:
 
 
 
-[Press enter]
+[Press enter]
\ No newline at end of file
diff --git a/vecs.cc b/vecs.cc
index d3b7053d8cdc913dc8e15ccb52a4a6c32cf1cf9d..02ee26c70cbc8d4bf7d271b1847647b407a637ba 100644 (file)
--- a/vecs.cc
+++ b/vecs.cc
@@ -1055,7 +1055,7 @@ void Vecs::disp_vec(const QString& vecname) const
       continue;
     }
 
-    printf(" %-20.20s  %-.50s\n", qPrintable(vec.name), qPrintable(vec.desc));
+    printf("   %-20.20s  %-.50s\n", qPrintable(vec.name), qPrintable(vec.desc));
     const QVector<arginfo_t> args = vec.arginfo;
     for (const auto& arg : args) {
       if (!(arg.argtype & ARGTYPE_HIDDEN)) {